package com.appkubes.mall.restful.application.promoter.service.impl;

import com.appkubes.mall.core.service.impl.BaseMallPromoterServiceImpl;
import com.appkubes.mall.restful.application.promoter.annotation.UserRegisterEvent;
import com.appkubes.mall.restful.application.promoter.entity.eo.UserRegisterEO;
import com.appkubes.mall.restful.application.promoter.service.PromoterService;
import org.springframework.stereotype.Service;

/**
 * @Author: Rongjie
 * @Date: 2020/2/27
 * @Description:
 */
@Service
public class PromoterServiceImpl extends BaseMallPromoterServiceImpl implements PromoterService {

    @UserRegisterEvent
    @Override
    public UserRegisterEO statisUserReg(String userKey, String promoterKey) {
        return new UserRegisterEO(userKey, promoterKey);
    }
}
